<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <script src="jquery-1.11.2.min.js"></script>
    <script src="prettify.js"></script>
    <script src="run_prettify.js"></script>
    <script src="CaptionMaker.js"></script>
    <script src="wavesurfer.min.js"></script>
    <script src="wavesurfer.timeline.js"></script>
    <script src="wavesurfer.regions.js"></script>
    <script src="init.js"></script>
    <script src="index.js"></script>
    <script src="timeParser.js"></script>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="prettify.css">
    <link rel="stylesheet" href="css/bootstrap-superhero.css">
    <link rel="stylesheet" href="css/style.css">
</head>
<body>

<div class="container">
    <div class="page-header" id="banner">
        <div class="row">
            <div class="col-lg-8 col-md-7 col-sm-6">
                <h1>Caption Maker</h1>
                <p class="lead">Making captions easy</p>
            </div>
            <div class="col-lg-4 col-md-5 col-sm-6">
                <div class="sponsor">

                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-6">
            <div class="input-group input-group-sm">
                <input type="file" id="media-source" class="form-control" placeholder="Media Source">
                  <span class="input-group-btn">
                    <button id="load-video" class="btn btn-default" type="button" >Load</button>
                  </span>
            </div>
        </div>
        <div class="col-xs-6">
            <div class="input-group input-group-sm">
                <input type="text" id="online-source" class="form-control" placeholder="Media Source">
                  <span class="input-group-btn">
                    <button id="load-online-source" class="btn btn-default" type="button" >Load</button>
                  </span>
            </div>
        </div>

    </div>
    <br>
    <div class="row">
        <div class="col-xs-6">
            <label><h1>Media</h1></label>
            <video id="video" class=""  preload="none" controls></video>
            <div class="captions">
                <p>Legenda</p>
            </div>
            <div class="col-xs-4">
                <div class="input-group input-group-sm">
                    <select id="caption-types" class="form-control">
                    </select>
                  <span class="input-group-btn">
                    <button id="generate-caption" class="btn btn-success" type="button" >Generate!!</button>
                  </span>
                </div>
            </div>
            <div class="input-group input-group-sm col-xs-offset-10">
          <span class="input-group-btn">
              <button type="button" class="btn btn-default btn-number" data-type="minus" onclick="changePlaybackRate($('#range'),'minus')">
                  <span class="glyphicon glyphicon-minus"></span>
              </button>
          </span>
                <input type="text"  disabled="disabled"  id="range" class="form-control input-number" value="1" min="1" max="10">
          <span class="input-group-btn">
              <button type="button" class="btn btn-default btn-number" data-type="plus" onclick="changePlaybackRate($('#range'),'plus')" data-field="quant[1]">
                  <span class="glyphicon glyphicon-plus"></span>
              </button>
          </span>
            </div>



        </div>

        <div class="col-xs-6">
            <ul class="nav nav-pills">
                <li role="presentation"  class="active" id="with-transcript"><a href="#">I got Transcript</a></li>
                <li role="presentation" id="no-transcript"><a href="#">I don't got transcripts =( </a></li>
            </ul>
            <div class="table-hider col-xs-12">
                <div id="caption-table" class="col-xs-12">
                <table class="table table-striped table-hover ">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th>Initial Time</th>
                        <th>End Time</th>
                        <th>Text</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
                <div id="new-node" class="highlight col-xs-8">
                    <span class="glyphicon glyphicon-plus-sign"></span><span style="margin-left: 3px">Click on video to add a node</span>
                </div>
            </div>

            <div id="transcript-box">
                <textarea id="transcript" class="form-control" rows="10" placeholder="Transcript here..." ></textarea>
                <input type="text" id="subtitle-separator" placeholder="Captions separator here ">
                <button type="button" id="load-transcript" class="btn btn-success">Load Transcript</button>
            </div>
        </div>
    </div>
    <br>
    <div class="row">

        <div clas="row">
            <div class="col-xs-12">

            </div>
        </div>
        <div id="wave" class="col-xs-12">
           <div>teste pra ver</div>
        </div>
        <div id="parsed-caption" class="col-xs-12">

        </div>
    </div>

</div>
</body>
</html>